Conversation
🦋 Changeset detectedLatest commit: 4982e7a The changes in this PR will be included in the next version bump. This PR includes changesets to release 20 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Coverage Report for Coverage
File Coverage
|
||||||||||||||||||||||||||||||||||||||
| availableToSwap: | ||
| caipAddress && !invalidToToken && !invalidSourceToken && !invalidSourceTokenAmount, | ||
| isAuthConnector: type === 'AUTH' | ||
| isAuthConnector: type === 'ID_AUTH' |
There was a problem hiding this comment.
was 'AUTH' stil a valid type?
There was a problem hiding this comment.
AUTH and ID_AUTH shares the type: ConnectorType
authConnectorId = ID_AUTH
authConnectorType = AUTH
This is confusing, so we should definitely improve this
| availableToSwap: | ||
| caipAddress && !invalidToToken && !invalidSourceToken && !invalidSourceTokenAmount, | ||
| isAuthConnector: type === 'AUTH' | ||
| isAuthConnector: type === 'ID_AUTH' |
There was a problem hiding this comment.
Should we maybe add ID_AUTH to a constants file ?
There was a problem hiding this comment.
this should be type checked already else it'd say that it would always be false 🤔
but we should use the constant regardless IMO
Description
hotfix: fix broken state swaps
Type of change
Associated Issues
Closes APKT-xxx
Showcase (Optional)
If there is a UI change include the screenshots with before and after state.
If new feature is being introduced, include the link to demo recording.
Checklist